<table id="users" class="data">
  <thead>
    <tr>
      <th class="name first" colspan="2">
      </th>
      <th>
        <div class="dividers">
          <a href="">姓名</a>
        </div>
      </th>
      <th>
        <div class="dividers">
          <a href="">单位</a>
        </div>
      </th>
      <th>
        <div class="dividers">
          <a href="">职务</a>
        </div>
      </th>
      <th>
        <div class="dividers">
          <a href="">联系方式</a>
        </div>
      </th>
      <th class="block_status last" colspan="2">操作</th>
    </tr>
  </thead>
  <tbody id="user_list">
    <% @conventioners.each do |conventioner| %>
      <%=render :partial=>'events_users/user_item',:locals=>{:conventioner=>conventioner}%>
      <tr  id="edit_place_<%=conventioner.id%>"></tr>
    <% end %>
  </tbody>
</table>
<br/>
<div style="float:right">
    <%= will_paginate @conventioners,
      :inner_window => 1,
      :outer_window => 1,
      :prev_label => '上一页',
      :next_label => '下一页'
    %>
</div>
<br/>
<br/>
<div style="float:right">
  <a href="#" onclick="Element.toggle('add_user');return false">添加人员</a>  |
  <%=link_to "返回",event_path(:id=>@event.id)%>
</div>
<br />
<%=render :partial=>'new_user_form',:locals=>{:event=>@event}%>